<div class="wrapper">
    <form action="/backend/option/save" class="form">
        <input type="hidden" name="id" value="#(model.id??)"/>
        <fieldset>
            <div class="widget">
                <div class="title"><img src="/bes/images/icons/dark/list.png" alt="" class="titleIcon"><h6>新增Option</h6>
                </div>
                <div class="formRow">
                    <label>KEY（英文名字）:</label>
                    <div class="formRight"><input type="text" class="validate[required]" name="optionKey" id="optionKey"
                                                  value="#(model.optionKey??)"></div>
                    <div class="clear"></div>
                </div>
                <div class="formRow">
                    <label>显示名称</label>
                    <div class="formRight"><input type="text" class="validate[required]" name="optionValue"
                                                  id="optionValue" value="#(model.optionValue??)"/></div>
                    <div class="clear"></div>
                </div>
                <div class="formRow">
                    <label>属性分组</label>
                    <div class="formRight">
                        <input type="radio" #if(model.groupId??1==com.boyu.common.OptionConst::BIKE_ATTR_GROUP) checked="checked" #end
                               name="groupId" id="radio1"
                               value="#(com.boyu.common.OptionConst::BIKE_ATTR_GROUP)"
                               style="opacity: 0;">
                        <label for="radio1">产品属性</label>
                        <input type="radio" name="groupId" #if(model.groupId??1==com.boyu.common.OptionConst::SYSTEM_ATTR_GROUP) checked="checked" #end
                               id="radio2" value="#(com.boyu.common.OptionConst::SYSTEM_ATTR_GROUP)"
                               style="opacity: 0;">
                        <label for="radio2">系统属性</label>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="formRow">
                    <label>是否多选</label>
                    <div class="formRight">
                        <input type="radio" #if(model.isMulti??1==1) checked="checked" #end
                               name="isMulti" id="radio3"
                               value="1"
                               style="opacity: 0;">
                        <label for="radio1">多项</label>
                        <input type="radio" name="isMulti" #if(model.isMulti??1==0) checked="checked" #end
                               id="radio4" value="0"
                               style="opacity: 0;">
                        <label for="radio2">单项</label>
                    </div>
                    <div class="clear"></div>
                </div>
                <div class="formSubmit"><input type="submit" value="提交" class="redB"></div>
                <fieldset>
    </form>
</div>